# @Version : 1.0
# @Author  : wxz
# @File    : chat_message_dto.py
# @Time    : 2025/6/18 23:07
# @Describe: 描述...
from typing import Optional

from pydantic import BaseModel, Field


class ChatMessageDto(BaseModel):

    query: str = Field(description="用户输入/提问内容。")

    is_streaming:bool = Field(description="是否流式输出: True/False")

    conversation_id: Optional[str] = Field(description="（选填）会话 ID，需要基于之前的聊天记录继续对话，必须传之前消息的 conversation_id。")


